package com.wing.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.JsonResult;
import com.wing.user.model.entity.WarehouseUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.warehouse.model.response.WarehouseUserAuthVO;

import java.util.Map;

public interface WarehouseUserService extends IService<WarehouseUser>{

    WarehouseUserAuthVO getByUsername(String username);

    Page<WarehouseUser> pageList4app(Page<WarehouseUser> pg, Map paramMap);

    int add(WarehouseUser warehouseUser);

    JsonResult updateWarehouseUser(WarehouseUser warehouseUser);

    JsonResult deleteWarehouseUser(Long warehouseUserId);
}
